﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/main.master"
    AutoEventWireup="true" CodeFile="Orders.aspx.cs" Inherits="Admin_Orders" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="title">
        <img runat="server" id="imgAddItems" align="absmiddle" alt="New Customer" src="../Images/details.gif"
            width="21" height="19">&nbsp; <strong>Add order Items</strong>
    </div>
    <!--Start: POPUP Control -->
    <div id="divItemsPopup" style="width: 540px; padding: 10px;" runat="server" class="panel-popup title">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server">sdfsdfdsfdsfdsfsdfdsfsdfsdfsd</asp:Label>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <div style="clear: both;">
            <h3>
                <img align="absmiddle" alt="New Customer" src="../Images/details.gif" width="21"
                    height="19">&nbsp; Item Details
                <hr />
                <h3>
                </h3>
                <div class="divcell">
                    <ul>
                        <li><span id="Span1">Item Category</span></li>
                        <li>
                            <asp:DropDownList ID="ddlItemCategory" runat="server" Style="float: left;">
                                <asp:ListItem Text="Rings" Value="Rings"></asp:ListItem>
                                <asp:ListItem Text="Chains" Value="Chains"></asp:ListItem>
                            </asp:DropDownList>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span12">Item Code</span> </li>
                        <li>
                            <asp:TextBox ID="txtItemCode" runat="server"></asp:TextBox>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span2">Item Desc</span></li>
                        <li>
                            <asp:TextBox ID="txtItemDesc" runat="server"></asp:TextBox>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span11">Quantity</span></li>
                        <li>
                            <asp:TextBox ID="txtQuantity" runat="server"></asp:TextBox>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span3">Weight</span></li>
                        <li>
                            <asp:TextBox ID="txtWeight" runat="server"></asp:TextBox>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span4">Wastage</span>
                            <asp:CheckBox ID="rdobtnKdm" runat="server" Text="KDM" />
                        </li>
                        <li>
                            <asp:TextBox ID="txtWastage" runat="server"></asp:TextBox>
                            <ajaxToolkit:MaskedEditExtender runat="server" TargetControlID="txtWastage" Mask="999.999" MessageValidatorTip="true"
                                OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError" MaskType="Number"  
                                InputDirection="RightToLeft" DisplayMoney="Left" ErrorTooltipEnabled="True" />
                            <%--  <ajaxToolkit:FilteredTextBoxExtender ID="fltrtxtWastage" runat="server" FilterType="Custom"
                                TargetControlID="txtWastage" InvalidChars=".">
                            </ajaxToolkit:FilteredTextBoxExtender>--%>
                        </li>           
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span5">Making Charge</span></li>
                        <li>
                            <asp:TextBox ID="txtMakingCharge" runat="server"></asp:TextBox>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span10">Size / Length</span></li>
                        <li>
                            <asp:TextBox ID="txtSize" runat="server"></asp:TextBox>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span13">Size / Length Unit</span></li>
                        <li>
                            <asp:DropDownList ID="ddlSizeUnit" runat="server">
                                <asp:ListItem Text="Millimeter" Value="MM"></asp:ListItem>
                                <asp:ListItem Text="Centimiters" Value="CM"></asp:ListItem>
                                <asp:ListItem Text="Inches" Value="IN"></asp:ListItem>
                            </asp:DropDownList>
                        </li>
                    </ul>
                </div>
        </div>
        <div style="clear: both;">
            <h3>
                <img align="absmiddle" alt="New Customer" src="../Images/details.gif" width="21"
                    height="19">&nbsp; Stones Details
                <hr />
                <h3>
                </h3>
                <div class="divcell">
                    <ul>
                        <li><span id="Span14">Stones Desc</span></li>
                        <li>
                            <asp:TextBox ID="txtStonesDesc" runat="server"></asp:TextBox>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span7">No. of Pices</span></li>
                        <li>
                            <asp:TextBox ID="txtStonesCount" runat="server"></asp:TextBox>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span6">Stones Weight</span></li>
                        <li>
                            <asp:TextBox ID="txtStonesWeight" runat="server"></asp:TextBox>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span8">Stones Unit</span></li>
                        <li>
                            <asp:DropDownList ID="ddlStoneUnit" runat="server">
                                <asp:ListItem Text="Carats" Value="Carats"></asp:ListItem>
                                <asp:ListItem Text="Cents" Value="Cents"></asp:ListItem>
                            </asp:DropDownList>
                        </li>
                    </ul>
                </div>
                <div class="divcell">
                    <ul>
                        <li><span id="Span9">Total Stones Cost</span></li>
                        <li>
                            <asp:TextBox ID="txtStonesCost" runat="server"></asp:TextBox>
                        </li>
                    </ul>
                </div>
        </div>
        <div style="clear: both;">
            <h3>
                <img align="absmiddle" alt="New Customer" src="../Images/details.gif" width="21"
                    height="19">&nbsp; Item Image Details
                <hr />
                <h3>
                </h3>
                <asp:Image ID="Image1" runat="server" AlternateText="Item Image" Height="120px" Width="100px" />
                <asp:FileUpload ID="FileUpload1" runat="server" />
        </div>
        <div style="clear: both;">
            <asp:UpdatePanel ID="updpnlpopup" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:Button ID="btnAdd" runat="server" CssClass="button" Text="Add Item" OnClick="btnAdd_Click" />
                    <asp:Button ID="btnReset" runat="server" CssClass="button" Text="Reset" />
                    <asp:Button ID="btnCancel" runat="server" CssClass="button" Text="Cancel" OnClick="btnCancel_Click" />
                </ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="btnAdd" />
                </Triggers>
            </asp:UpdatePanel>
        </div>
    </div>
    <!-- End : POPUP Control  -->
    <ajaxToolkit:ModalPopupExtender ID="mpeorderItem" runat="server" TargetControlID="imgAddItems"
        PopupControlID="divItemsPopup" RepositionMode="RepositionOnWindowResizeAndScroll"
        BackgroundCssClass="modalBackground">
    </ajaxToolkit:ModalPopupExtender>
</asp:Content>
